/*
 * @Author: your name
 * @Date: 2020-08-19 14:20:55
 * @LastEditTime: 2020-09-01 14:53:26
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \react-hkzf-mobile\src\utils\request.js
 */
import axios from "axios";

// 带入环境变量的基地址
import { BASE_URL } from './url'

// 创建axios实例对象
const service = axios.create({
    baseURL: BASE_URL
})

// 请求拦截
service.interceptors.request.use(config=>{


    return config

})


// 响应拦截


// 导出实例对象
export default service